ul.pagination {
    text-align: center;
    margin: 10px;
}
.pagination li {
    width: 40px;
    height: 40px;
    background: #f3f3f3;
    display: inline-block;
    margin: 0 5px;
}
.pagination li a,.pagination li span {
    width: 40px;
    height: 40px;
    display: block;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #33335c;
}
.pagination li.active {
    background: #666;
}
.pagination li.active span {
    color: #fff;
}
.pagination li.disabled {
    background: #ddd;
}
.pagination li.disabled span {
    color: #999;
}